package projetInfo1;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.Serializable;
import java.util.ArrayList;

public class Fichier implements Serializable {
	private static final long serialVersionUID = 2348006742085674054L;
	
	private File fic;
	private String confidentialite;
	
	public Fichier(File fic, String confidentialite) {
		this.fic = fic;
		this.confidentialite = confidentialite;
	}

	public String getConfidentialite() {
		return confidentialite;
	}
	
	public String getChemin() {
		return fic.getPath();
	}
	
	public String getNom() {
		return fic.getName();
	}

	public void setConfidentialite(String confidentialite) {
		this.confidentialite = confidentialite;
	}
	
	public File getFile() {
		return fic;
	}
}
